﻿<!doctype html>
<!--[if lt IE 7 ]> <html lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]>    <html lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]>    <html lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]>    <html lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" class="no-js ie9"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]>--> <html lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" class="no-js"> <!--<![endif]-->
<head>
    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

    <title>@ViewBag.Title</title>

	<meta name="description" content="" />
	<meta name="copyright" content="" />
	<meta name="google-site-verification" content="" />
	<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0;" />

    <meta property="fb:app_id" content="@ViewBag.ApplicationId" />
    <meta property="og:title" content="ShareThrift">
    <meta property="og:url" content="@ViewBag.ApplicationUrl">
    <meta property="og:image" content="http://photos-e.ak.fbcdn.net/photos-ak-snc1/v27562/57/123419921037393/app_1_123419921037393_6959.gif">
    <meta property="og:site_name" content="ShareThrift">
    <meta property="og:description" content="A Demo site for FaceSharp">
    <meta property="og:type" content="website">
    <link rel="stylesheet" href="@ViewBag.SiteRootUrl/areas/facebookapp/styles/facebook-app-name.css">
    @RenderSection("HeaderContent", required:false)
    
    <script src="/scripts/modernizr-1.6.min.js"></script>


</head>
<body id="@ViewBag.BodyId">
    <div id="fb-root"></div>

    <header>
    <h1>ShareThrift</h1>
    <hr noshade />
    ShareThrift is a reference app built using the <b><a href="http://www.facesharp.com" target="_blank">FaceSharp .NET Facebook Library</a></b><fb:like href="http://www.facebook.com/facesharp" layout="button_count" show_faces="false" width="150" font=""></fb:like> <br /><br />
    </header>


    <section id="main">
        @RenderBody()
    </section>

    <footer></footer>
    
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js"></script>
    <script>        !window.jQuery && document.write(unescape('%3Cscript src="/scripts/jquery-1.5.min.js"%3E%3C/script%3E'))</script>
    <script src="/scripts/swfobject.js"></script>
    @RenderSection("PageBottomContent", required:false)
    
    <p>Page Rendered in  @ViewBag.ExecutionTime milliseconds</p>

    <script>
        Facebook = {};

        Facebook.Config = {
            FbApplicationId: '@ViewBag.ApplicationId'
            , FbApplicationUrl: '@ViewBag.ApplicationUrl'
            , FbApplicationToken: '@ViewBag.ApplicationToken'
            , FbExtendedPermissions: '@ViewBag.ExtendedPermissions'
            , SiteUrl: '@ViewBag.SiteRootUrl'
        };
    </script>

    <script src="@ViewBag.SiteRootUrl/areas/facebookapp/scripts/facebook-app-name.js?v=@Guid.NewGuid()"></script>
    <script>
        (function($){
            @RenderSection("PageSpecificJsDomReadyMethods", required:false)
        })(this.jQuery);

        
        @RenderSection("PageSpecificJs", required:false)
    </script>
    
    <!--[if lt IE 7 ]>
    <script> //fix any <img> or .png_bg background-images
        $.getScript('/scripts/dd_belatedpng.js', function(){ DD_belatedPNG.fix('img, .png_bg'); });
    </script>
    <![endif]-->

    <script>
        var _gaq = [['_setAccount', 'UA-XXXXX-X'], ['_trackPageview']];
        (function (d, t) {
            var g = d.createElement(t), s = d.getElementsByTagName(t)[0];
            g.async = true; g.src = '//www.google-analytics.com/ga.js';
            s.parentNode.insertBefore(g, s);
        })(document, 'script');
    </script>
</body>
</html>

